package com.wtx.security.controller;

import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "test")
public class TestController {

    @GetMapping(value = "test")
    public String test(){
        return "test";
    }

    @GetMapping(value = "test2")
    public String test2(){
        return "test2";
    }

    @GetMapping(value = "test3")
    public String test3(){
        return "test3";
    }

    @GetMapping(value = "test4")
    public String test4(){
        return "test4";
    }
}
